import 'package:flutter/material.dart';

import '../colors/color_constants.dart';

const String dmMono = 'DM Mono';
const String dmSans = 'DM Sans';
const String dmSerif = 'DM Serif Display';
const String sourceSerif = 'Source Serif';
const String teachers = 'Teachers';

const String materialIcons = 'MaterialIcons';
const padding8 = 8.0;
const padding12 = 12.0;
const padding14 = 14.0;
const padding16 = 16.0;
const padding20 = 20.0;
const padding24 = 24.0;
const fontSize16 = 16.0;
const width4 = SizedBox(width: 4);
const width8 = SizedBox(width: 8);
const width12 = SizedBox(width: 12);
const width16 = SizedBox(width: 16);
const height4 = SizedBox(height: 4);
const height8 = SizedBox(height: 8);
const height12 = SizedBox(height: 12);
const height16 = SizedBox(height: 16);
const height20 = SizedBox(height: 20);
const height32 = SizedBox(height: 32);
const height64 = SizedBox(height: 64);
const bottomSheetBoxDecoration = BoxDecoration(
  color: ColorConstants.onyx,
  borderRadius: BorderRadius.only(
    topLeft: Radius.circular(12),
    topRight: Radius.circular(12),
  ),
);

BoxDecoration bottomSheetBoxDecorationForTheme(BuildContext context) {
  return BoxDecoration(
    color: Theme.of(context).bottomSheetTheme.backgroundColor,
    borderRadius: const BorderRadius.only(
      topLeft: Radius.circular(12),
      topRight: Radius.circular(12),
    ),
  );
}
